#pragma once

#include "BasicWindows.h"
#include "ui_RecvFile.h"
#include <qjsonobject.h>


class ReceiveFile : public BasicWindows
{
	Q_OBJECT

public:
	ReceiveFile(const QJsonObject&data,QWidget *parent = nullptr);
	~ReceiveFile();

	void setLabelMsg(const QString& msg);



private:
	void init();

private slots:
	void on_cancelBtn_clicked();
	void on_okBtn_clicked();



private:
	Ui::ReceiveFile ui;

	QJsonObject fileObj;

};
